Technote Number: 1171131
Problem:
This issue was reported to Quality Engineering as SPRs# SIWA5LG2AN and
KKOO5X68B8.
SPR SIWA5LG2AN was addressed in Domino 6.0.5 and 6.5.4.
Excerpt from the Lotus Notes and Domino Release 6.5.4 and 6.0.5 MR fix list
(available at http://www.ibm.com/developerworks/lotus/):
LotusScript
SPR# SIWA5LG2AN - An attachment file is deleted, even though the
QueryModeChange event has failed. This problem has been fixed in 6.0.5 and
6.5.4.
SPR# KKOO5X68B8 was addressed in Domino 6.5.5 and 7.0.
Excerpt from the Lotus Notes and Domino Release 6.5.5 MR fix list (available at
http://www.ibm.com/developerworks/lotus):
Editor
SPR# KKOO5X68B8 - The attachment icon remained in the richtext field even if
the attachment file was deleted. With this fix, the attachment will not be
deleted if it is not possible to switch to edit mode.
Refer to the Upgrade Central site for details on upgrading Notes/Domino.
Supporting Information:
"QueryModeChange" should not be used as a security feature. If the user has
edit access to the document via the Access Control List (ACL) or Authors field,
the document can be edited. Giving a user Reader or Author access in the ACL is
recommended.
To work around this issue, hide the Rich Text field containing the attachment
when the document is in Read mode. This can be done by enabling hide-when
setting "Opened for reading" for the Field property "Hide paragraph when
document is" (which can be found on the hide-when tab (window shade tab). If
there is text which must be displayed when the document was in Read mode, this
could be displayed using a Computed for Display Text field which used an @Text
function referring to the Rich Text field. Another way to have text display
during Read mode is to use two different Rich Text fields: one for the
attachments which had the hide-when setting and a second field for the text
that did not have the hide-when setting.
There is an additional issue reported to Quality Engineering which involves
cases where the QueryModeChange event does not trigger as expected. For more
information on this issue see document 1170850 << External Link Removed >> "The
QueryModeChange event does not trigger as expected when click edit or delete".
Steps to reproduce:
Create a form with a Rich Text field.
Place the following code in the QueryModeChange event: Continue=False.
Create a document with the form and place an attachment in the Rich Text field.
Open the document and right click the attachment file and select Delete (Note:
The QueryModeChange prevents the document from going into Edit mode).
The following then appears, select Yes: "Deleting attachment(s) cannot be
undone. Do you with to proceed?"
When the text "#0C:03" appears, click OK.
Press the Escape key. When prompted to save your changes, select Yes.
Open the document. The Icon is present but the attachment is actually deleted. More >
|  |
|
|
|
|